//
//  NSObject+UITheme.h
//  FCHealthy
//
//  Created by mouxiaochun on 16/2/1.
//  Copyright © 2016年 mmc. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "UIView+Layout.h"

@interface UITheme : NSObject
/**
 * 首页的灰色背景
 */
+ (UIColor *)homeGrayBGColor;
+ (UIColor *)tableViewGrayBGColor;
+ (UIColor *)grayTextColor;
//238,145,55
+ (UIColor *)orangeColor238;
//字体颜色
+ (UIColor *)fontColor;

+ (UIColor *)logoBorderColor;

//向右的箭头
+ (UIImageView *)accessoryView;
//橘红色按钮
+ (UIButton *)orangeButton;
//登录按钮
+ (UIButton *)loginButton;
//上传身份证按钮
+ (UIButton *)uploadButton;
//注册按钮
+ (UIButton *)registerButton;



@end

@interface NSObject (color)
//app主颜色－－－淡粉
- (UIColor *) appColor;
//导航栏背景色

- (UIColor *) navigatorColor;

//导航栏字体颜色
- (UIColor *) navigatorTitleColor;

//tableview header & footer 背景色
- (UIColor *) spaceColor238238238;

//我的健康标题颜色
- (UIColor *) titleColor161161161;

//我的健康副标题颜色
- (UIColor *) subTColor253092085;

- (UIColor *) chartTitle100100100;

//我的健康－－身高背景色
- (UIColor *) heightBGColor;
- (UIColor *) heightBGColotRed;
- (UIColor *) mengCeng236145055;

- (UIColor *) lightGrayColor242;

//白色透明
- (UIColor *) whiteTransparent;

@end
@interface NSObject (font)

- (UIFont *)fontSystem;
- (UIFont *)fontSize11;
- (UIFont *)fontSize12;

- (UIFont *)fontSize13;

- (UIFont *)fontSize14;

- (UIFont *)fontSize16;

- (UIFont *)fontSize17;

- (UIFont *)fontSize18;


@end

@interface NSString (att)
- (NSMutableAttributedString *) changeText:(NSString *)string forColor:(UIColor *)color;

- (CGSize)sizeWithFont:(UIFont *)font maxSize:(CGSize)maxSize;
@end